package com.freshcity.core
{
	import flash.utils.IDataInput;
	import flash.utils.IDataOutput;
	import flash.utils.IExternalizable;

	[RemoteClass(alias="com.fresh.bus.schedule.BusLine")]
	public class BusLine implements IExternalizable
	{
		public var id:int;
		public var runTime:int;
		public var name:String;
		public var stations:Object;
		
		public function readExternal(input:IDataInput):void {
			name = input.readObject() as String;
			stations = input.readObject();
		}
		
		public function writeExternal(output:IDataOutput):void {
			output.writeObject(name);
		}
	}
}